import { createRouter,createWebHistory } from "vue-router";
 const routes =[
    {
        path:'/',
        redirect : '/wall?id=0',
        name:'Home',
        component:()=>import('../pages/Home'),
        children : [{
            path : 'wall',
            component:()=>import('../pages/WallMessage')
        }
      ]
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
  })
  export default router;